home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / std / c / 253 < prev    next >
Internet Message Format  |  1996-08-06  |  1KB

  1. Path: sdrc.com!thor!scjones
  2. From: larry.jones@sdrc.com (Larry Jones)
  3. Newsgroups: comp.std.c
  4. Subject: Re: size_t
  5. Date: 31 Jan 1996 16:03:24 GMT
  6. Organization: SDRC Engineering Services
  7. Distribution: world
  8. Message-ID: <4eo3sc$l14@info1.sdrc.com>
  9. References: <4eiua2$9u@engnews1.Eng.Sun.COM>
  10. NNTP-Posting-Host: thor.sdrc.com
  11. Originator: scjones@thor
  12.  
  13. In article <4eiua2$9u@engnews1.Eng.Sun.COM>, clamage@Eng.Sun.COM (Steve Clamage) writes:
  14. > I have always thought that type size_t must be defined as one of
  15. > the standard unsigned integer types: unsigned [char | short | int | long].
  16. > I don't find wording in the ISO standard requiring that, however.
  17. > Sections 7.1.6 and 6.3.4 say it is an "unsigned integral type", a term
  18. > I don't find defined. "Integer type" is defined, but not "integral type".
  19.  
  20. In response to a Defect Report, the Committee noted that the terms
  21. ``integer type'' and ``integral type'' are used interchangeably and
  22. should be considered synonymous.  I believe they also expressed an
  23. intent to eliminate the inconsistency in the next revision.  The
  24. response to another Defect Report noted that the list of integer types
  25. is exhaustive and may not be extended, thus size_t must indeed be one of
  26. the standard types.
  27. ----
  28. Larry Jones, SDRC, 2000 Eastman Dr., Milford, OH  45150-2789  513-576-2070
  29. larry.jones@sdrc.com
  30. I don't think that question was very hypothetical at all. -- Calvin
  31.